/**
 * Copyright ©2012-2018 HopeHaiyang Corporation, All Rights Reserved
 * http://www.wuhanhope.com
 */
package hope.platform.data.dao;

import hope.platform.data.domain.DataManagement;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
 * class info
 *
 * @author hujia
 *         Create at 2018/7/10 14:32
 */
public interface DataManagementRepository extends MongoRepository<DataManagement, Long> {
    DataManagement findDataManageByDataName(String dataName);

    List<DataManagement> findDataManageByDataKind(String dataName);

    List<DataManagement> findAll();
}
